<template>
  <div class="printer">
    <i class="el-icon-printer " @click="$router.push(`/employees/print/${$route.params.id}?type=${type}`)" />
  </div>
</template>

<script>
export default {
  props: {
    type: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss" scoped>
.printer{
  text-align: right;
  font-size: 30px;
  margin-bottom: 8px;
  cursor: pointer;
}
</style>
